package priv.stones.array;

import java.lang.reflect.Array;
import java.util.Arrays;

/**
 * @Author: Stones
 * @Description:
 * @Date: 2017/9/25 13:36
 */
public class Array1 {

    public static void main(String[] args) {
        int []number1={1, 5, 3, 2, 76, 12, 5446};
        int []number2={1, 5, 3, 2, 76, 112, 5446};
//        Arrays.sort(number);
//        System.out.println(Arrays.toString(number));

        System.out.println(Arrays.equals(number1, number2));
//        Arrays.fill(number1, 20);
        System.out.println(Arrays.toString(number1));
        System.out.println(Arrays.binarySearch(number1, 11112));

    }

}
